de.ueberdosis.mp3info.id3v2
Class FrameSYTC

java.lang.Object
  |
  +--de.ueberdosis.mp3info.id3v2.ID3V2Frame
        |
        +--de.ueberdosis.mp3info.id3v2.FrameSYTC
All Implemented Interfaces:
Defines

public class FrameSYTC
extends ID3V2Frame

Synchronised tempo codes For a more accurate description of the tempo of a musical piece this frame might be used. After the header follows one byte describing which time stamp format should be used. Then follows one or more tempo codes. Each tempo code consists of one tempo part and one time part. The tempo is in BPM described with one or two bytes. If the first byte has the value $FF, one more byte follows, which is added to the first giving a range from 2 - 510 BPM, since $00 and $01 is reserved. $00 is used to describe a beat-free time period, which is not the same as a music-free time period. $01 is used to indicate one single beat-stroke followed by a beat-free period. The tempo descriptor is followed by a time stamp. Every time the tempo in the music changes, a tempo descriptor may indicate this for the player. All tempo descriptors should be sorted in chronological order. The first beat-stroke in a time-period is at the same time as the beat description occurs. There may only be one "SYTC" frame in each tag.

Time stamp format $xx Tempo data Where time stamp format is: $01 Absolute time, 32 bit sized, using MPEG frames as unit $02 Absolute time, 32 bit sized, using milliseconds as unit Abolute time means that every stamp contains the time from the beginning of the file.


Nested Class Summary
 class FrameSYTC.TimeCode
           
 
Field Summary
static java.lang.String[] timeFormats
           
 
Fields inherited from class de.ueberdosis.mp3info.id3v2.ID3V2Frame
dataChanged, deprecatedSince, legalSince
 
Fields inherited from interface de.ueberdosis.mp3info.Defines
DEFAULT_ENCODING, ID3V2_FOOTER_SIZE, ID3V2_FRAME_HEADER_SIZE, ID3V2_HEADER_SIZE, ID3V2_X_HEADER_SIZE, MP3_FRAME_HEADER_SIZE, SUPPORTED_NUMBER_OF_EXTENDED_FLAG_BYTES, testPositions, VERSION
 
Constructor Summary
FrameSYTC(de.ueberdosis.mp3info.id3v2.ID3V2Frame frm, de.ueberdosis.mp3info.id3v2.DataSource ds)
           
 
Method Summary
 java.lang.String getLongName()
           
 java.lang.String toString()
           
 
Methods inherited from class de.ueberdosis.mp3info.id3v2.ID3V2Frame
canDisplay, canEdit, containsData, createJPanel, createPanel, deprecatedSince, equals, getData, getDataLengthIndicator, getFileAlterPreservation, getFrameID, getSize, getTagAlterPreservation, getUnsynchronisation, hasGroupingIdentity, isAltered, isCompressed, isEncrypted, isReadOnly, isValid, legalSince, toByteArray
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

timeFormats

public static final java.lang.String[] timeFormats
Constructor Detail

FrameSYTC

public FrameSYTC(de.ueberdosis.mp3info.id3v2.ID3V2Frame frm,
                 de.ueberdosis.mp3info.id3v2.DataSource ds)
          throws SeekPastEndException
Method Detail

getLongName

public java.lang.String getLongName()

toString

public java.lang.String toString()
Overrides:
toString in class ID3V2Frame